package stringexercise;

public class StartsWith {
    public static void main(String[] args) {
        String str="Thinking in java";
        boolean b1=str.startsWith("Think");
        System.out.println(b1);
        boolean b2=str.endsWith(".png");
        System.out.println(b2);
    }
}
